package test.gravity;

public class Line {
	private double myX, myY, mySlope;
	public Line(double x, double y, double slope) {
		myX=x;
		myY=y;
		mySlope=slope;
	}
	public Line(double x1, double y1, double x2, double y2) {
		myX=x1;
		myY=y1;
		mySlope=(y2-y1)/(x2-x1);
	}
}
